<div style="list-style:none">
    <div ng-repeat-start="item in infoTraversal" ng-init="$parent.showDetail=-1;preNumbers=0" ng-show="preNumbers>0">
        <div class="row" ng-click="$parent.showDetail=showDetail==$index?-1:$index" style="height: 38px;padding-top: 10px;padding-bottom: 10px">
            <div class="col-md-2">
                <span >{{preName}}{{$index+1}}:</span>
            </div>
            <div class="col-md-10">
                <a ng-repeat="ele in infoStruct" ng-init="$parent.preNumbers=preNumbers+ele.preview">
                    <span ng-if="(ele.preview==1||ele.preview==4)&&item[ele.key]!=undefined&&item[ele.key]!=''">
                        {{ele.preBefore}}
                    </span>
                    <span ng-if="ele.preview>0&&ele.preview<5&&item[ele.key]!=undefined&&item[ele.key]!=''">
                        <span ng-if="ele.option!=2">{{item[ele.key]}}</span>
                        <span ng-if="ele.option==2">{{item[ele.key]|date:'yyyy-MM-dd'}}</span>
                    </span>
                    <span ng-if="ele.preview==5">
                        {{item[ele.key[0]]!=""&&item[ele.key[0]]!=undefined?item[ele.key[0]]+"省":""}}
                        {{item[ele.key[1]]!=""&&item[ele.key[1]]!=undefined?item[ele.key[1]]+"市":""}}
                        {{item[ele.key[2]]}}
                    </span>
                    <span ng-if="(ele.preview==3||ele.preview==4)&&item[ele.key]!=undefined&&item[ele.key]!=''">
                        {{ele.preAfter}}
                    </span>
                </a>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <a ng-click="delete(infoTraversal,$index);dirtySet({index:blockname})"><i class="fa fa-trash-o"></i></a>
            </div>
        </div>
    </div>
    <div ng-repeat-end >
        <div ng-if="preNumbers>0" class="padding-left-30" ng-show="showDetail==$index" traversal-datastruct info-struct="infoStruct" info-traversal="item" offset="{{$index}}" blockname="{{blockname}}" dirty-set="dirtySet({index:index})" dirty-get="dirtyGet(index)" special-need="{{specialNeed}}" ></div>
        <div class="row" ng-if="preNumbers==0">
            <div class="col-md-11">
                <div class="no-padding-left" traversal-datastruct info-struct="infoStruct" info-traversal="item" offset="{{$index}}" blockname="{{blockname}}" dirty-set="dirtySet({index:index})" dirty-get="dirtyGet(index)" special-need="{{specialNeed}}" ></div>
            </div>
            <div class="col-md-1">
                <i class="fa fa-minus" ng-click="delete(infoTraversal,$index);dirtySet({index:blockname})"></i>
            </div>
        </div>
    </div>
</div>